import { ConfigService } from '@nestjs/config';

export const databaseConfig = {
  uri: process.env.MONGODB_URI || 'mongodb://127.0.0.1:27017/commonai',
  options: {
    useNewUrlParser: true,
    useUnifiedTopology: true,
    autoCreate: true,
    autoIndex: true
  }
}; 